/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.kota105.ui.view.viewGroup;

import java.util.ArrayList;
import java.util.List;
import javax.swing.text.View;
import org.kota105.ui.generic.AbstractLayout;
import org.kota105.ui.generic.ViewGroup;
import org.kota105.ui.generic.properties.Constant;
import org.kota105.ui.generic.properties.Property;

/**
 *
 * @author pikpun
 */
public class LinearLayout extends AbstractLayout {

    @Override
    public List<Property> getDefaultProperties() {
        super.getDefaultProperties();
        defaultProperties.add(new Property(Constant.BASELINE_ALIGNED));
        defaultProperties.add(new Property(Constant.BASELINE_ALIGNED_CHILD_INDEX));
        defaultProperties.add(new Property(Constant.GRAVITY));
        defaultProperties.add(new Property(Constant.MEASURE_WITH_LARGEST_CHILD));
        defaultProperties.add(new Property(Constant.ORIENTATION));
        defaultProperties.add(new Property(Constant.WEIGHT_SUM));
        return defaultProperties;
    }

    public String getXMLName() {
        return "LinearLayout";
    }

}
